package entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: NGUYEN VAN NHAN
 * Date: 9/17/14
 * Time: 11:11 AM
 * Long Van Soft Solution Sjc.
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "SOCIAL")
public class Social implements Serializable{
    private String socialId;
    private String memberId;
    private String socialTypeId;
    private String socialName;
    private String socialIdReturn;

    public Social() {
    }

    @Id
    @Column(name = "socialId", length = 20)
    public String getSocialId() {
        return socialId;
    }

    public void setSocialId(String socialId) {
        this.socialId = socialId;
    }

    @Column(name = "memberId", length = 20)
    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    @Column(name = "socialTypeId", length = 20)
    public String getSocialTypeId() {
        return socialTypeId;
    }

    public void setSocialTypeId(String socialTypeId) {
        this.socialTypeId = socialTypeId;
    }

    @Column(name = "socialName", length = 255)
    public String getSocialName() {
        return socialName;
    }

    public void setSocialName(String socialName) {
        this.socialName = socialName;
    }

    @Column (name = "socialIdReturn", length = 255)
    public String getSocialIdReturn() {
        return socialIdReturn;
    }

    public void setSocialIdReturn(String socialIdReturn) {
        this.socialIdReturn = socialIdReturn;
    }
}
